//C06: 6.15 do_while.c -- quit of loop.
#include <stdio.h>

int main(void)
{
    const int secret_code = 13;
    int code_entered;

    do
    {
        printf("To enter the triskaidekaphobia therapy club,\n");
        printf("please enter the secret code number: ");
        scanf("%d, &code_entered");
    } while(code_entered != secret_code);

    printf("Congratulations! You are cured!\n");
}